<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>
    //数值扩展：bigint
    let max =Number.MAX_SAFE_INTEGER
    console.log(max)
    console.log(max+1)
    console.log(max+2)
    let bMax = BigInt(max)
    console.log(bMax,typeof bMax)
    console.log(bMax +1n)
    console.log(bMax +2n)
    console.log(bMax +3n)
  </script>
</body>
</html>